import { get, post,put, DELETE } from '@/utils/request'

const BASE_URL = window.baseUrl.action
//  字典-分页查询
export function pageList(query) {
  return get(BASE_URL + '/assetsdictgroup/list', query)
}
//  字典-新增
export function addData(query) {
  return post(BASE_URL + '/assetsdictdata', query)
}
//  字典-编辑
export function editData(query) {
  return put(BASE_URL + '/assetsdictdata', query)
}
//  字典-删除
export function deleteItem(query) {
  return DELETE(BASE_URL + '/assetsdictdata/' + query)
}
